<?php

$this->pageSummary = 'An overview of authors grouped by the first character of their name.';
$this->headLink()->appendStylesheet($this->staticUri('/styles/thesis.css'));
$this->navigationMenu()->addDefaultItems();

foreach($this->authorCounts as $char => $count){
	echo $this->block(
		sprintf('<a href="%s%s">Authors %s (%d)</a>',
			$this->baseUrl('page/author/authors/'),
			strtoupper($char),
			strtoupper($char),
			$count
		),
	 	sprintf('There are %d known authors who have a name starting with \'%s\'.',
	 		$count,
	 		strtoupper($char)
	 	)
	);
}